package com.sand.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sand.dto.Select.UserSelect;
import com.sand.dto.worker.AddWorker;
import com.sand.dto.worker.WorkerDto;
import com.sand.entity.user.worker;

public interface WorkerService extends IService<worker> {

    /**
     * 新增工人
     * @param addOrWorker
     * @return
     */
    String add(AddWorker addOrWorker);

    /**
     * 查询工人
     * @param userSelect
     * @return
     */
    WorkerDto select(UserSelect userSelect);
}
